<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        /* 
        字符串 ：引号。
        1.特殊字符，用转义符
        2.length 获取字符串的长度（有多少个字符）
        3. + 可以进行字符串的拼接
        4. 字符串拼接其它数据类型后还是字符串
        5. 字符串和变量拼接: 引引加加 
         */
let address = '郑\'州\n河南';
console.log(address);

 let hero = '德玛西亚123456';
 console.log(hero.length);

let sub = 'h5';
let sub1 = 'css';
let result = 'h5' + 'css';
let result1 = sub1 + sub;
console.log(result,result1);

let game = '吃鸡';
let game1 = game + '郑州';
let game2 = '英雄联盟' + game + '刀塔';
console.log(game2);
    </script>
</body>
</html>            